#!/bin/bash

cd $PROJECT_DIR"/io/libs/iovm/io"

$PROJECT_DIR"/scripts/io2c.py" VMCode IoState_doString_ A0_List.io A0_Object.io A1_OperatorTable.io A2_Object.io A3_List.io A4_Exception.io Actor.io AddonLoader.io B_Sequence.io Block.io CFunction.io Date.io Debugger.io Directory.io DynLib.io Error.io File.io List_schwartzian.io Map.io Message.io Number.io Profiler.io Sandbox.io Serialize.io System.io UnitTest.io Vector.io Y_Path.io Z_CLI.io Z_Importer.io > $PROJECT_DIR"/io/libs/iovm/source/IoVMInit.c"

echo "#define INSTALL_PREFIX \"/usr/local\"" > $PROJECT_DIR"/io/libs/iovm/source/IoInstallPrefix.h"

